package net.medplus.social;

import android.app.Application;

import com.facebook.drawee.backends.pipeline.Fresco;
import com.umeng.socialize.PlatformConfig;

/**
 * Description:
 *
 * @author: Xian XueLiang
 * @date: 2016/6/12
 */
public class BaseApplication extends Application{
    @Override
    public void onCreate() {
        super.onCreate();
        //init Fresco
        Fresco.initialize(getApplicationContext());

        //Allin测试微信的Appid和AppSecret
        String appId="wx71dd903e3da19bf3";
        String appSecret="aa55a4b4ba32ca1e66cfc2625ac5d820";
        //配置微信平台
        PlatformConfig.setWeixin(appId,appSecret);
    }
}
